package com.sunq.studio.sys.dao;

import com.sunq.studio.sys.domain.TbSysBookOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbSysBookOrderDao {


    int deleteByPrimaryKey(Integer id);



    int insertSelective(TbSysBookOrder record);



    TbSysBookOrder selectByPrimaryKey(Integer id);

    TbSysBookOrder selectOrderByOrderId(@Param("bookId") String bookId);

    int updateByPrimaryKeySelective(TbSysBookOrder record);

    List<TbSysBookOrder> getOrderByUserId(Integer userId);




}